package com.bitters;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

@SpringBootApplication
@EnableJpaAuditing
public class SpringbootJpaApplication {

	public static void main(String[] args) {
		SpringApplication app = new SpringApplication(SpringbootJpaApplication.class);
		/**
		 * 打印啟動日誌
		 */
		app.setApplicationStartup(new BufferingApplicationStartup(1000));
		app.run(args);
	}

}
